window.onload = function() {


    // $("#login").click(function (e) {
        
    //     let username = $("#name").val();

    //     localStorage.setItem("username", username);
    //     console.log(username)
    //     e.preventDefault();
        
    // });
    


    $("#register").click(function (e) {
        
        console.log(11111)
        window.location.href = "http://localhost:8080/register.html"


        

        e.preventDefault();
        
    });
    
    

    


}